<?php
require_once 'smarty/Smarty.class.php';


class TplDriver {
	const TYPE_SMARTY = "Smarty";

	static function factory($type){
		switch ($type) {
			case self::TYPE_SMARTY:
				return new Smarty();
			
			default:
				return null;
		}
		
		// return new $type;
	}

}
